<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>商品管理-转移商品</title>
    <jsp:include page="../../include/base.jsp"></jsp:include>
	<jsp:include page="../../include/common.jsp"></jsp:include>
  </head>
  <body>   
  	<form id="transferGoodsForm" method="post">
		<table style="width:100%;font-size:9pt;font-family:Tahoma,Verdana,宋体;" 
			align="center" border="0" cellpadding="5">
			<tr>
				<td align="right" width="60">从此分类：</td>
				<td>    
                     <input id="bggLeftTree" name="bggLeft" class="mini-treeselect" multiSelect="false" 
        				valueField="bggId" parentField="bggParent" textField="bggName" popupHeight="120"
        				url="<%=path %>/lazyLoadGoodsGroupTree.do" width="150" showTreeIcon="false"/>
                </td>
                <td align="right" width="50">转移到：</td>
				<td>    
                     <input id="bggRightTree" name="bggRight" class="mini-treeselect" multiSelect="false" 
        				valueField="bggId" parentField="bggParent" textField="bggName" popupHeight="120"
        				url="<%=path %>/lazyLoadGoodsGroupTree.do" width="150" showTreeIcon="false"/>
                </td>
			</tr>
			<tr><td colspan="4" align="center">&nbsp;</td></tr>
			<tr>
				<td colspan="4" align="center" height="60px;">
					<input class="mini-button" text="转移" iconCls="icon-btn-transfer" plain="false" 
      					onclick="TransferGoodsHandler.transfer"/>&nbsp;&nbsp;
      				<input class="mini-button" text="重置" iconCls="icon-reload" plain="false" 
      					onclick="TransferGoodsHandler.reset"/>&nbsp;&nbsp;
      				<input class="mini-button" text="关闭" iconCls="icon-cancel" plain="false" 
      					onclick="TransferGoodsHandler.closeMiniWin"/>
				</td>
			</tr>
		</table>
  	</form>
  	<div id="transferWarning" style="padding-left:10px;display:none;">商品转移中，请稍后 ...
		<div style="background:url('<%=path %>/admin/resource/css/images/wait_html.gif') no-repeat 0px 50%;width:230px;height:30px;"></div>
	</div>
  </body>
  <script src="handler/TransferGoodsHandler.js" type="text/javascript"></script>
</html>
